SortField Object

Sample Code - SortField Object

The SortField Object includes properties for accessing information for record or group sort fields. It holds on to Report object, then releases the report object when destroyed. This object has an index instance variable to indicate its index.

SortField Object Properties

Property Description Read/Write

Application

Returns a reference to the Application Object, this object is associated with.

Read only

Field

Returns/Sets DatabaseFieldDefinition Object, which specifies the sort field used in the report.

Read/Write

Parent

Reference to the Parent object (Report Object).

Read only

Report

Reference to Report Object.

Read/Write

SortDirection

Returns/Sets CRSortDirection (see table below) indicating the direction the group/records are sorted in.

Read/Write


Constant Value


crAscendingOrder

1


crDescendingOrder

0


crOriginalOrder

2


crSpecifiedOrder (Read only - this value cannot be set.)

3



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com